<?php

namespace Superadmin\Model;

class Categories {

    public $cateId;
    public $cateName;
    public $cateseo;
    public $cateDes;
    public $datecreat;
    public $dateupdate;

    public function exchangeArray($data) {
        $this->cateId = (isset($data['cateId'])) ? $data['cateId'] : null;
        $this->cateName = (isset($data["cateName"])) ? $data["cateName"] : null;
        $this->cateseo = (isset($data["cateseo"])) ? $data["cateseo"] : null;
        $this->cateDes = (isset($data["cateDes"])) ? $data["cateDes"] : null;
        $this->datecreat = (isset($data["datecreat"])) ? $data["datecreat"] : null;
        $this->dateupdate = (isset($data["dateupdate"])) ? $data["dateupdate"] : null;
    }

}
